/*
 * OPIAM Suite
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package opiam.admin.applis.demo.forms;

import org.apache.struts.action.ActionForm;

import java.io.Serializable;


/**
 * This class describes the logon formBean.
 */
public class LogonForm extends ActionForm implements Serializable
{
    /** Login. */
    private String login;

    /** Password. */
    private String password;

    /**
     * Gets the login.
     *
     * @return The login.
     */
    public String getLogin()
    {
        return login;
    }

    /**
     * Gets the password.
     *
     * @return The password.
     */
    public String getPasssword()
    {
        return password;
    }

    /**
     * Sets the login.
     *
     * @param alogin  The login to set.
     */
    public void setLogin(String alogin)
    {
        this.login = alogin;
    }

    /**
     * Sets the password.
     *
     * @param apass  The password.
     */
    public void setPassword(String apass)
    {
        this.password = apass;
    }

    /**
     * Reset all the value of the object.
     */
    public void reset()
    {
        login = null;
        password = null;
    }
}
